<!DOCTYPE html>
<style>
div { background: green; border: solid blue; width: 100px; height: 100px; }
</style>
<table border=1 width=50%>
<tr>
<td><div></div>left
</table>
<table border=1 width=50%>
<tr>
<td><div></div>justify
</table>
<table border=1 width=50%>
<tr>
<td style="text-align: -moz-right;"><div></div>right
</table>
<table border=1 width=50%>
<tr>
<td style="text-align: -moz-center;"><div></div>center
</table>
<table border=1 width=50%>
<tr>
<td style="text-align: -moz-center;"><div></div>middle
</table>
<table border=1 width=50%>
<tr>
<td style="text-align: center;"><div></div>absmiddle
</table>
